﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sudoku.Game;

namespace Sudoku.ViewHelper
{
    /// <summary>
    /// класс для подсказок
    /// </summary>
	public static class SliderHelper
	{
		public static string GetDefenition(int value)
		{
			string str = "";
			switch (value)
			{
				case 1:
					str = "Легкий";
					break;
				case 2:
					str = "Средний";
					break;
				case 3:
					str = "Трудный";
					break;
			}

			return str;

		}

		public static GameDifficulty GetDifficulty(int value)
		{
			GameDifficulty res = GameDifficulty.Medium;
			switch (value)
			{
				case 1:
					res = GameDifficulty.Easy;
					break;
				case 2:
					res = GameDifficulty.Medium;
					break;
				case 3:
					res = GameDifficulty.Hard;
					break;
			}

			return res;
		}
	}
}
